
# pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple pip -U
# pip3 config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple

sudo apt-get install curl
sudo apt-get install wget
sudo apt-get install swig

pip3 install shapely -i https://pypi.tuna.tsinghua.edu.cn/simple

cd datasets/DOTA_devkit
swig -c++ -python polyiou.i
python3 setup.py build_ext --inplace

cd ..
cd ..
mkdir weights_dota
wget http://jario.ren/models/prometheus-oriented-object-segs/model_50.pth -O weights_dota/model_50.pth

# python3 main.py --data_dir /home/jario/dataset/dota2.0_val_split_600x600_scale_1_05 --conf_thresh 0.1 --batch_size 16 --dataset dota --phase eval

